package com.bootdo.lvyou_specialty.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-14 09:58:28
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class LvyouSpecialtyOrderAll extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;

	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;
	
	//用户的收货地址
		@HapiFeild("用户的收货地址")
	private String userAddress;
	
	//用户的收货地址的id
		@HapiFeild("用户的收货地址的id")
	private Long userAddressId;
	
	//用户的id
		@HapiFeild("用户的id")
	private Long userId;
	
	//用户的姓名
		@HapiFeild("用户的姓名")
	private String userName;
	
	//用户的手机号
		@HapiFeild("用户的手机号")
	private String userMobile;
	
	//1代表是普通用户  2代表是会员
		@HapiFeild("1代表是普通用户  2代表是会员")
	private Integer userState;
	
	//订单编号
		@HapiFeild("订单编号")
	private String orderNo;
	
	//微信的订单编号
		@HapiFeild("微信的订单编号")
	private String wxOrderNo;
	
	//总钱数
		@HapiFeild("总钱数")
	private Double money;
	
	//订单状态  1代表下单未支付  2代表下单已支付  3代表过期
		@HapiFeild("订单状态  1代表下单未支付  2代表下单已支付  3代表过期")
	private Integer status;
	
	//运输商家的类型
		@HapiFeild("运输商家的类型")
	private String logisticsType;
	
	//运输单号
		@HapiFeild("运输单号")
	private String logisticsNumber;
	
	//减免的钱
		@HapiFeild("减免的钱")
	private Double minusFee;

	//实际的钱
	@HapiFeild("实际的钱")
	private Double realFee;

	// 用户的openid
	private String userOpenId;

    public LvyouSpecialtyOrderAll(){
    
    	this.createTime = new Date();
    }


	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	/**
	 * 设置：用户的收货地址的id
	 */
	public void setUserAddressId(Long userAddressId) {
		this.userAddressId = userAddressId;
	}
	/**
	 * 获取：用户的收货地址的id
	 */
	public Long getUserAddressId() {
		return userAddressId;
	}
	/**
	 * 设置：用户的id
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户的id
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：用户的姓名
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 获取：用户的姓名
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * 设置：用户的手机号
	 */
	public void setUserMobile(String userMobile) {
		this.userMobile = userMobile;
	}
	/**
	 * 获取：用户的手机号
	 */
	public String getUserMobile() {
		return userMobile;
	}
	/**
	 * 设置：1代表是普通用户  2代表是会员
	 */
	public void setUserState(Integer userState) {
		this.userState = userState;
	}
	/**
	 * 获取：1代表是普通用户  2代表是会员
	 */
	public Integer getUserState() {
		return userState;
	}
	/**
	 * 设置：订单编号
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	/**
	 * 获取：订单编号
	 */
	public String getOrderNo() {
		return orderNo;
	}
	/**
	 * 设置：微信的订单编号
	 */
	public void setWxOrderNo(String wxOrderNo) {
		this.wxOrderNo = wxOrderNo;
	}
	/**
	 * 获取：微信的订单编号
	 */
	public String getWxOrderNo() {
		return wxOrderNo;
	}
	/**
	 * 设置：总钱数
	 */
	public void setMoney(Double money) {
		this.money = money;
	}
	/**
	 * 获取：总钱数
	 */
	public Double getMoney() {
		return money;
	}
	/**
	 * 设置：订单状态  1代表下单未支付  2代表下单已支付  3代表过期
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：订单状态  1代表下单未支付  2代表下单已支付  3代表过期
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 设置：运输商家的类型
	 */
	public void setLogisticsType(String logisticsType) {
		this.logisticsType = logisticsType;
	}
	/**
	 * 获取：运输商家的类型
	 */
	public String getLogisticsType() {
		return logisticsType;
	}
	/**
	 * 设置：运输单号
	 */
	public void setLogisticsNumber(String logisticsNumber) {
		this.logisticsNumber = logisticsNumber;
	}
	/**
	 * 获取：运输单号
	 */
	public String getLogisticsNumber() {
		return logisticsNumber;
	}
	/**
	 * 设置：减免的钱
	 */
	public void setMinusFee(Double minusFee) {
		this.minusFee = minusFee;
	}
	/**
	 * 获取：减免的钱
	 */
	public Double getMinusFee() {
		return minusFee;
	}

	public Double getRealFee() {
		return realFee;
	}

	public void setRealFee(Double realFee) {
		this.realFee = realFee;
	}

	public String getUserOpenId() {
		return userOpenId;
	}

	public void setUserOpenId(String userOpenId) {
		this.userOpenId = userOpenId;
	}

	@Override
	public String toString() {
		return "LvyouSpecialtyOrderAll{" +
				"id=" + id +
				", createTime=" + createTime +
				", userAddress='" + userAddress + '\'' +
				", userAddressId=" + userAddressId +
				", userId=" + userId +
				", userName='" + userName + '\'' +
				", userMobile='" + userMobile + '\'' +
				", userState=" + userState +
				", orderNo='" + orderNo + '\'' +
				", wxOrderNo='" + wxOrderNo + '\'' +
				", money=" + money +
				", status=" + status +
				", logisticsType='" + logisticsType + '\'' +
				", logisticsNumber='" + logisticsNumber + '\'' +
				", minusFee=" + minusFee +
				", realFee=" + realFee +
				", userOpenId='" + userOpenId + '\'' +
				'}';
	}

	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
